from langserve import RemoteRunnable

if __name__ == '__main__':
    client = RemoteRunnable("http://127.0.0.1:8000/chain")
    print(client.invoke({"language": "英语", "text": "今天我要学习"}))
